package lesson1_20.lesson12;

//在实现接口的时候指定了类型
public class MessageImpl2 implements IMessage<String> {
    @Override
    public void print(String t) {
        System.out.println(t);

    }
}
